package com.etone.smartAudit.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.etone.smartAudit.domain.ServerPath;
import com.etone.smartAudit.mapper.ServerPathMapper;
import org.springframework.stereotype.Service;

/**
 * @author: sovy
 * @date: 2020/12/3
 * @description:
 */

@Service
public class ServerPathService extends ServiceImpl<ServerPathMapper, ServerPath> {

    /**
     * 查询服务器路径id
     *
     * @param serverId
     * @param path
     * @return
     */
    public Integer findId(Integer serverId, String path) {
        return baseMapper.findId(serverId, path);
    }
}
